{%extends file="wap_common/page/layout.tpl"%}

{%block name="head-static"%}
    <script type="text/javascript">
        P.data("user_id","{%$user_id_str%}")
    </script>
    {%require name="wap_main:static/myassets/myassets.js"%}
    {%require name="wap_main:static/myassets/myassets.less"%}
{%/block%}

{%block name="page-name"%}我的资产{%/block%}
{%block name="layout-body"%}
    <div class="main-myassets">
        <a class="btn-share">提高额度</a>
        <section class="statistic">
            <div class="desc yesterday-desc">昨日收益</div>
            <div class="yesterday-profit"></div>
            <div class='desc total-desc'>累计收益</div>
            <div class="total-profit"></div>
        </section>
        <div class="pie-data">
            <div class="pie-container">
                <canvas id="chart-area" width="120" height="120px"/>
            </div>
            <section>
                <span class="icon1"></span>
                <span>收益资金</span>
                <span class="data total-profit"></span>
            </section>
            <section>
                <span class="icon2"></span>
                <span>已购买资产</span>
                <span class="data bought-amount"></span>
            </section>
        </div>
        <ul class="type">
            <li class="line">
                <i></i>
                <span class="type-name">排队资金</span>
                <span class="type-value queue-assets"></span>
            </li>
            <li class="line">
                <i></i>
                <span class="type-name">收益资金</span>
                <span class="type-value profit"></span>
            </li>
            <li>
                <i></i>
                <span class="type-name">冻结资金</span>
                <span class="type-value frozen-assets"></span>
            </li>
        </ul>
    </div>
{%/block%}